/**
 * @author lulongwen
 * Date: 2023-08-06 22:39
 * Description:
 */

export const EdgeSchema = {
  "type": "object",
  "properties": {
    "label": {
      "type": "string",
      "title": "名称",
      "x-decorator": "FormItem",
      "x-component": "Input",
      "x-validator": [],
      "x-component-props": {},
      "x-decorator-props": {},
      "name": "label",
      "x-designable-id": "n23ft0gtzpb",
      "x-index": 0
    },
    "type": {
      "title": "Edge 类型",
      "x-decorator": "FormItem",
      "x-component": "Select",
      "x-validator": [],
      "x-component-props": {
        popupClassName: '__small__'
      },
      "x-decorator-props": {},
      "name": "type",
      "enum": [
        {
          "label": "贝塞尔曲线",
          "value": "default"
        },
        {
          "label": "阶梯",
          "value": "step"
        },
        {
          "label": "圆滑阶梯",
          "value": "smoothstep"
        },
        {
          "label": "直线",
          "value": "straight"
        }
      ],
      "x-designable-id": "s6cysc9p5t7",
      "x-index": 1
    },
    "width": {
      "type": "string",
      "title": "线条宽度",
      "x-decorator": "FormItem",
      "x-component": "Input",
      "x-validator": [],
      "x-component-props": {},
      "x-decorator-props": {},
      "name": "width",
      "x-designable-id": "ygo9iaqxkgb",
      "x-index": 2
    },
    "markerEnd": {
      "title": "箭头类型",
      "x-decorator": "FormItem",
      "x-component": "Select",
      "x-validator": [],
      "x-component-props": {
        popupClassName: '__small__'
      },
      "x-decorator-props": {},
      "name": "markerEnd",
      "enum": [
        {

          "label": "箭头",
          "value": "arrow"
        },
        {

          "label": "闭合箭头",
          "value": "arrowclosed"
        }
      ],
      "x-designable-id": "5h6zegf7k56",
      "x-index": 3
    },
    "color": {
      "type": "string",
      "title": "线条颜色",
      "x-decorator": "FormItem",
      "x-component": "Input",
      "x-validator": [],
      "x-component-props": {},
      "x-decorator-props": {},
      "name": "color",
      "x-designable-id": "5j3u5syfdsj",
      "x-index": 4
    },
    "animated": {
      "type": "boolean",
      "title": "动画",
      "x-decorator": "FormItem",
      "x-component": "Switch",
      "x-validator": [],
      "x-component-props": {},
      "x-decorator-props": {},
      "x-designable-id": "animated",
      "x-index": 5
    }
  },
  "x-designable-id": "6yzqf164l3r"
}
